string = input("请输入一串数字和字母的组合数据：\n")
dp = {}
for i in string:
    un = ord(i)
    if(48<=un<=57) or (65<=un<=90) or (97<=un<=122):
        dp[i] = dp.get(i,0)+1
    else:
        continue
print(dp)
    
